package com.hebo.testdemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @version 1.0
 * @ClassName IndexController
 * @Author xiaoyang
 * @Date 2021/8/6 17:06
 **/
@Controller
public class IndexController {
    @GetMapping({"/","index"})
    public String toLogin(){
        return "login";
    }

}
